package cn.fightingguys.kaiheila.request;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Http 请求者
 *
 * @author running_hyk
 * @version 1.0.0
 * @since 1.0.0
 */
public class Requester {

    protected static final Logger Log = LoggerFactory.getLogger(Requester.class);

    private String baseUrl;

    public Requester(String baseUrl) {
        if (baseUrl == null || baseUrl.isEmpty() || baseUrl.isBlank()) {
            throw new IllegalArgumentException("the baseUrl cannot be null");
        }
        this.baseUrl = baseUrl;
    }

}
